import { http } from "@/utils/http";
import type { Result } from "@/api/typeConfig";

// 首页图表
export const chartDataApi = params =>
  http.request<Result>("get", "/system/homepage/dataStatistics", { params });

// 首页通知
export const newestNotice = params =>
  http.request<Result>("get", "/system/homepage/newestNotice", { params });
